﻿using System.Windows.Navigation;

namespace MvvmCrystalTool
{
    public interface INavigationService
    {
        void Navigate(string key);
        void Navigate(string key, object dataContext);
        object GetDataContext(NavigationContext context);
    }

    public interface INavigatableViewModel
    {
        void OnNavigatedTo();
    }

    public interface IResolver
    {
        T Resolve<T>();
        object Resolve(string key);
    }
}
